﻿namespace WH.Contracts.Systems.KeyValues
{
    /// <summary>
    /// 
    /// </summary>
    public class KeyValueOutputDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; } = null!;

        /// <summary>
        /// 主键
        /// </summary>
        public string ParentId { get; set; } = null!;

        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; } = null!;

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = null!;

        /// <summary>
        /// 是否可删除（0否 1是）
        /// </summary>
        public bool IsDeletable { get; set; }
        /// <summary>
        /// url
        /// </summary>
        public string IconUrl { get; set; } = null!;


        /// <summary>
        /// 输入码
        /// 默认值:
        /// </summary>
        public string InputCode { get; set; } = null!;

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        public bool IsEnable { get; set; }
    }
}
